package edu.fdzc.system.mapper;

import edu.fdzc.system.entity.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {
    Student selectByUsername(String username);

    void insert(Student student);

    void updateById(Student student);

    void deleteById(Integer id);

    Student selectById(Integer id);

    List<Student> selectAll(Student student);
}
